/*****************************************************************************************
   
   Copyright (c) Microsoft Corporation. All rights reserved.

   Use of this code sample is subject to the terms of the Microsoft
   Permissive License, a copy of which should always be distributed with
   this file.  You can also access a copy of this license agreement at:
   http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx

 ****************************************************************************************/

using System;

namespace GrooveWebServicesV12Helpers
{
	public class Name
	{
		private GrooveWebServicesV12Helpers.VCard m_VCard;

		private string m_Family;
		private string m_Given;
		private string m_Other;
		private string m_Prefix;
		private string m_Suffix;

		public Name(GrooveWebServicesV12Helpers.VCard i_VCard, GrooveVCardWebService.Name i_Name)
		{
			m_Family = i_Name.Family;
			m_Given = i_Name.Given;
			m_Other = i_Name.Other;
			m_Prefix = i_Name.Prefix;
			m_Suffix = i_Name.Suffix;

			m_VCard = i_VCard;
		}

		public string Family
		{
			get
			{
				return m_Family;
			}
		}

		public string Given
		{
			get
			{
				return m_Given;
			}
		}

		public string Other
		{
			get
			{
				return m_Other;
			}
		}

		public string Prefix
		{
			get
			{
				return m_Prefix;
			}
		}

		public string Suffix
		{
			get
			{
				return m_Suffix;
			}
		}

		public GrooveWebServicesV12Helpers.VCard VCard
		{
			get
			{
				return m_VCard;
			}
		}

	}
}
